package com.freemypay.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.freemypay.dao.EmpMapper;
import com.freemypay.entity.Emp;
import com.freemypay.service.EmpService;

/**
 * 根据empno查询员工信息
 * @author Administrator
 *
 */
@Service
@Transactional
public class EmpServiceImpl implements EmpService {
	
	@Autowired
	private EmpMapper empMapper;

	@Override
	public Emp selectByPrimaryKey(Long empno) {
		
		return empMapper.selectByPrimaryKey(empno);

	}
}
